<script setup>
  function GotoPayouts() {
    // uni.navigateTo({
    // 	url: '/transactionPage/transaction/index',
    // })
    uni.reLaunch({
      url: '/pages/home/index',
    })
  }
</script>

<template>
  <view>
    <view class="success">
      <image
        class=""
        src="https://ojqn.wm2177.com/wechat_imgs/transition/success-big.png"
      ></image>
    </view>
    <view class="success-tit">
      <text class=""> 提现申请成功</text>
      <text class="success-time"> 预计48小时内到支付宝账户</text>
    </view>

    <view class="gohome-btn" @click="GotoPayouts">
      <text class="">返回首页</text>
    </view>
  </view>
</template>

<style lang="scss" scoped>
  .success {
    margin-top: 35%;

    text-align: center;
    image {
      width: 200rpx;
      height: 200rpx;
    }
  }
  .success-tit {
    display: flex;
    flex-direction: column;
    font-size: 36rpx;
    font-weight: 600;
    color: #3d3d3d;
    text-align: center;
    margin: 30rpx auto;
    .success-time {
      font-size: 28rpx;
      color: #9b9b9d;
      font-weight: 400;
      margin-top: 10rpx;
    }
  }
  .gohome-btn {
    width: 380rpx;
    height: 90rpx;
    text-align: center;
    line-height: 90rpx;
    font-size: 32rpx;
    color: #3d3d3d;
    font-weight: 600;
    margin: 30rpx auto;
    background-color: #ffe60f;
    border-radius: 50rpx;
  }
</style>
